<?php
$this->breadcrumbs=array(
	'Main',
);?>
<h1><?php echo $this->id . '/' . $this->action->id; ?></h1>

<p>
	You may change the content of this page by modifying
	the file <tt><?php echo __FILE__; ?></tt>.
	<?php 
    $criteria=new CDbCriteria;
    $criteria->compare('idgenre','>1' );
    $dataProvider=new CActiveDataProvider(Genre::model(),
    array(
    'criteria'=>$criteria,
    'pagination' => array('pageSize' => 2),
    ));
	
    $this->widget('zii.widgets.grid.CGridView', array(
    'columns' => array('idgenre',
        array('name'=>'Bank_Contact_Email_1','type'=>'raw','value'=>'$abc = $data->name'),
        array('class'=>'CLinkColumn','url'=>$data->IdGenre,'urlExpression'=>'Yii::app()->createUrl("printjob/update",array("id"=>$data->idgenre))',),),
    'dataProvider'=>$dataProvider,
    ));
?>
</p>
